package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.UserRole;
import com.ebring.shareEducation.utils.RspMsg;

import java.util.List;

/**
 * Created by Cola
 * Date  2018/8/20 22:04
 */
public interface UserRoleService {


    /**
     * 查询用户所有角色
     */

    RspMsg<List<UserRole>> select(String userId);

    /**
     * 修改用户角色
     */

    RspMsg<UserRole> update(String userId, String[] roleId);

}
